package com.yao.mall.mapper;

import com.yao.mall.model.entity.ShoppingOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yao.mall.model.vo.WeekOrderCountVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author jiahua.yao
* @description 针对表【shopping_order】的数据库操作Mapper
* @date 2024-03-26 19:31:16
* @Entity com.yao.mall.model.entity.ShoppingOrder
*/
public interface ShoppingOrderMapper extends BaseMapper<ShoppingOrder> {

    /**
     * 获取一周内订单数
     * @param start
     * @param end
     * @return
     */
    List<WeekOrderCountVO> selectWeekList(@Param("start") String start, @Param("end") String end);
}




